package cn.edu.xmu.orderpayment.order.model.vo;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Yujie Lin
 * @date 2021/12/8 17:24
 */
@Data
public class NewOrderVo {
    @NotNull
    private List< OrderItemVo> orderItems;
    @NotBlank
    private String consignee;
    @NotNull
    private Long regionId;
    @NotBlank
    private String address;
    @NotBlank
    private String mobile;

    private String message;

    private Long point;
    private Long advancesaleId;
    private Long grouponId;
}
